<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            margin: 0;
        }

        .header-box {
            width: 100%;
            height: 30px;
            background: #e3e4e5;
            font-size: 12px;
            color: #999;
        }

        .header-content {
            background: #e3e4e5;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 1190px;
            height: 30px;
            margin: 0 auto;
        }

        .nav-left {
            display: flex;
            align-items: center;
            width: 80px;
            height: 30px;
            line-height: 30px;
        }

        .position-icon {
            width: 16px;
            height: 16px;
            background-image: url('./images/position.png');
            margin-right: 5px;
        }

        .nav-right {
            display: flex;
            align-items: center;
        }

        .nav-right b {
            width: 1px;
            height: 15px;
            background: #ccc;
            margin: 0 5px;
        }

        .nav-right>div {
            width: 80px;
            text-align: center;
            line-height: 28px;
        }

        .nav-right>div:first-child {
            width: 150px;
        }

        .dropdown-box {
            height: 29px;
            line-height: 29px;
            border: 1px solid transparent;
            border-bottom: none;
        }

        .dropdown-box:hover {
            background: #fff;
            border: 1px solid #ddd;
            border-bottom: none;
        }

        .dropdown-box:hover .dropdown-btn {
            background: #fff;
        }

        .dropdown-box:hover .dropdown-menu {
            display: block;
        }

        .dropdown-menu {
            width: 200px;
            height: 115px;
            border: 1px solid #ddd;
        }

        .dropdown-box {
            position: relative;
        }

        .dropdown-btn {
            position: absolute;
            top: 0;
            left: 0;
            text-align: center;
            width: 100%;
            z-index: 1;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 27px;
            left: -1px;
        }

        .cnetent-container {
            margin: 0 auto;
            width: 100%;
            height: 140px;
            padding-bottom: 8px;
            border-bottom: 1px solid #ccc;
        }

        .header-input {
            /* background: green; */
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 1190px;
            height: 100%;
            margin: 0 auto;
        }

        .logo-jingdong img {
            width: 190px;
            height: 120px;
        }

        .manjiang {
            width: 190px;
            height: 120px;
        }

        .search-box {
            width: 800px;
            height: 100%;
        }

        .search-box {
            position: relative;
            width: 650px;
            height: 45px;
            margin: 0 auto;
        }

        .search-box input {
            display: flex;
            width: 488px;
            position: absolute;
            height: 36px;
            top: -20px;
            border: 2px solid red;
            box-sizing: border-box;
            outline: none;
            padding-left: 15px;
            font-size: 12px;
            color: #333;
            -webkit-text-fill-color: #777;
        }

        .search {
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            background-repeat: no-repeat;
            width: 58px;
            height: 36px;
            top: -20px;
            right: 105px;
            background: red;
        }

        .gouwuche {
            width: 22px;
            height: 22px;
            background-image: url('./images/sousuo.png');
            background-repeat: no-repeat;
            cursor: pointer;
            background-size: 100% 100%;
        }

        .search:hover {
            background-color: #c81623;
        }

        .icon {
            width: 24px;
            height: 20px;
            background-image: url('./images/icon.png');
            background-repeat: no-repeat;
            background-position: 0 -50px;
            position: absolute;
            background-size: 100%;
            top: -2px;
            right: 172px;
            margin-top: -10px;
            cursor: pointer;
        }

        .icon:hover {
            background-position: 0 -74px;
        }

        .ul-centent {
            margin: 0;
            padding: 0;
            position: absolute;
            top: 15px;
            left: 0px;
            list-style: none;
            display: flex;
        }

        .ul-centent li {
            font-size: 12px;
            padding: 5px;
            color: #999999;
            cursor: pointer;
        }

        .ul-centent li:hover {
            color: #e1251b;
        }

        .ul-centent li:first-child {
            padding: 5px;
            color: #e1251b;
        }

        .ul-bottom {
            padding: 0px;
            top: 40px;
            left: -80px;
            align-items: center;
            position: absolute;
            display: flex;
            justify-content: space-around;
            list-style: none;
        }

        .ul-bottom li {
            margin-right: 10px;
            text-align: center;
            line-height: 40px;
            width: 70px;
            font-size: 15px;
            color: #666;
            cursor: pointer;
            height: 40px;
        }

        .ul-bottom li:hover {
            color: #e1251b;
        }

        .ul-bottom li:first-child {
            font-weight: 700;
            color: #e1251b;
        }

        .ul-bottom li:nth-child(2) {
            font-weight: 700;
            color: #e1251b;
        }

        .gouwu {
            padding: 0 5px;
            position: absolute;
            top: -20px;
            right: -50px;
            display: flex;
            font-size: 12px;
            box-sizing: border-box;
            text-align: center;
            justify-content: space-around;
            align-items: center;
            background: #fff;
            color: #e1251b;
            width: 132px;
            height: 36px;
            cursor: pointer;
            border: 1px solid #ddd;
        }

        .gouwu:hover {
            border: 1px solid #e1251b;
        }

        .gouwu-icon {
            font-size: 5px;
            position: absolute;
            color: #fff;
            background: #e1251b;
            padding: 0px 3px;
            top: -3px;
            left: 26px;
            border-radius: 15px;
        }
    </style>
</head>

<body>
    <div class="header-box">
        <div class="header-content">
            <div class="nav-left">
                <span class="position-icon"></span>
                <span>江苏</span>
            </div>
            <div class="nav-right">
                <div>你好，请登录 免费注册</div>
                <b></b>
                <div>我的订单</div>
                <b></b>
                <div>我的京东</div>
                <b></b>
                <div>京东会员</div>
                <b></b>
                <div class="dropdown-box">
                    <div class="dropdown-btn">企业采购</div>

                    <div class="dropdown-menu"></div>
                </div>
                <b></b>
                <div>客户服务</div>
                <b></b>
                <div>网站导航</div>
                <b></b>
                <div>手机京东</div>
            </div>
        </div>
    </div>
    <div class="cnetent-container">

        <div class="header-input">
            <div class="logo-jingdong"><img src="./images/left.gif" alt=""></div>
            <div class="search-box">
                <input type="text" value="居家狂欢购">
                <div class="search"><span class="gouwuche"></span></div>
                <div class="gouwu"> <img src="./images/shopcar.png"><span class="gouwu-icon">0</span></img>
                    <div>我的购物车</div>
                </div>
                <div class="icon"></div>
                <ul class="ul-centent">
                    <li>居家狂欢购</li>
                    <li>手机嘿市</li>
                    <li>二手手机</li>
                    <li>电池南孚</li>
                    <li>宠物生活</li>
                    <li>水果9.9</li>
                    <li>服饰狂欢</li>
                    <li>9.9好物</li>
                    <li>超级盛典</li>

                </ul>
                <ul class="ul-bottom">
                    <li>秒杀</li>
                    <li>优惠券</li>
                    <li>PLUS会员</li>
                    <li>品牌闪购</li>
                    <li>拍卖</li>
                    <li>京东家电</li>
                    <li>京东超市</li>
                    <li>京东生鲜</li>
                    <li>京东国际</li>
                    <li>京东金融</li>
                </ul>
            </div>
            <div class="manjiang"><img src="./images/Right.png" alt=""></div>
        </div>

    </div>
</body>

</html>